import ajax from '../api/ajax'
//登录
export const logins = (data)=>ajax("/api/base/authorizations",data,"POST")
//注册 
export const registers = (data)=>ajax("/api/base/user",data,"POST")
//获取个人信息
export const getperons = (data)=>ajax("/api/base/me",data,"GET")
//发送短信
export const sendcode = (data)=>ajax("/api/base/verify",data,"POST")
//忘记密码
export const forget = (data)=>ajax("/api/base/forget_password",data,"POST")
